home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / utility / utilmisc / queue.lzh / queue_3.1 / queue_inline.h < prev    next >
C/C++ Source or Header  |  1996-11-28  |  1KB  |  51 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_QUEUE_H
  4. #define _INLINE_QUEUE_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef QUEUE_BASE_NAME
  11. #define QUEUE_BASE_NAME QueueBase
  12. #endif /* !QUEUE_BASE_NAME */
  13.  
  14. #define QAddMsg(qh, msg) \
  15.     LP2NR(0x2a, QAddMsg, QHandle, qh, a0, QMessage *, msg, a1, \
  16.     , QUEUE_BASE_NAME)
  17.  
  18. #define QAllocMsg(size) \
  19.     LP1(0x48, QMessage *, QAllocMsg, ULONG, size, d0, \
  20.     , QUEUE_BASE_NAME)
  21.  
  22. #define QClose(qh) \
  23.     LP1(0x24, ULONG, QClose, QHandle, qh, a0, \
  24.     , QUEUE_BASE_NAME)
  25.  
  26. #define QFlush(qh) \
  27.     LP1(0x42, ULONG, QFlush, QHandle, qh, a0, \
  28.     , QUEUE_BASE_NAME)
  29.  
  30. #define QFreeMsg(msg, size) \
  31.     LP2NR(0x4e, QFreeMsg, QMessage *, msg, a0, ULONG, size, d0, \
  32.     , QUEUE_BASE_NAME)
  33.  
  34. #define QGetMsg(qh) \
  35.     LP1(0x36, QMessage *, QGetMsg, QHandle, qh, a0, \
  36.     , QUEUE_BASE_NAME)
  37.  
  38. #define QOpen(name, mode, sigbit) \
  39.     LP3(0x1e, QHandle, QOpen, STRPTR, name, a0, ULONG, mode, d0, ULONG, sigbit, d1, \
  40.     , QUEUE_BASE_NAME)
  41.  
  42. #define QRemMsg(qh, msg) \
  43.     LP2NR(0x30, QRemMsg, QHandle, qh, a0, QMessage *, msg, a1, \
  44.     , QUEUE_BASE_NAME)
  45.  
  46. #define QReplyMsg(qh) \
  47.     LP1(0x3c, ULONG, QReplyMsg, QHandle, qh, a0, \
  48.     , QUEUE_BASE_NAME)
  49.  
  50. #endif /* !_INLINE_QUEUE_H */
  51.